#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<stdbool.h>
typedef int HPDateType;

typedef struct HeapTree
{
	HPDateType* a;
	int size;
	int capacity;
}HT;

void HPinit(HT* hp);
void Destory(HT* hp);
void Push(HT* hp, HPDateType x);

void Pop(HT* hp);
bool Empty(HT* hp);
HPDateType Top(HT* hp);
